home *** CD-ROM | disk | FTP | other *** search
/ Interplay's Learn to Program Basic (Review Copy) / Learn to Program Basic Review Copy (Interplay)(June 23, 1998).ISO / pc / ltpbasic / refxmpl / mouserec.bas < prev    next >
BASIC Source File  |  1998-04-07  |  171b  |  12 lines

  1. CLS
  2. While TRUE
  3. Rect 280,10 to 300,200
  4. If MouseRect (280, 10 to 300, 200) Then
  5. Print "The cursor is in the box!"
  6. Else
  7. Print "The cursor is Not in the box!"
  8. Endif
  9. Wend
  10. End
  11.  
  12.